﻿using System;
using System.Collections.Generic;
using System.Text;
using ATSModel;
using ATSIDAL;

namespace ATSBLL
{
    public class Report_ElecProperty : BaseService<ElecPropertyInfo>
    {
        private static readonly IElectReport dal = DALFactory.DataAccess.CreatElecReport();

        public override void SetCurrentRepository()
        {
            CurrentRepository = dal;
        }

        public IList<ElecPropertyInfo> GetElecData(DateTime StartDate, DateTime EndDate)
        {
            return dal.GetElecData(StartDate, EndDate);
        }

        public IList<ElecPropertyInfo> GetElecData()
        {
            return dal.GetElecData();
        }
    }
}
